package com.sunxu.exercise7;

/**
 * ${DESCRIPTION}
 *
 * @author Sun
 * @create 2017-08-02-16:11
 */
public class Run {
    public static void main(String[] args) {
        MyObject obj = new MyObject();
        Service service = new Service();
        ThreadA a = new ThreadA(service);
        a.setName("A");
        a.start();
        ThreadB b = new ThreadB(service);
        a.setName("B");
        b.start();
    }
}
